home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / LOAD / FUNCTIONS < prev    next >
Encoding:
Text File  |  1993-05-04  |  1.3 KB  |  25 lines

  1. Usage: LOAD functions
  2.   Some useful and/or interesting functions.
  3.  
  4. Additionnal commands and functions available:
  5.   $reverse(<width> <text>)      reverse the whole line, right justify
  6.   $format(<width> <text>)       format text in a column right justified
  7.   $lformat(<width> <text>)      format text in a column left justified
  8.   $center(<width> <text>)       center text sin space <width> wide
  9.   $sandr(<search> <rep> <text>) search for, and replace stuff in text
  10.                                 This one is a programming exercise
  11.                                 Don't rely on it.
  12.   $notword(<word #> <list>)     Remove the word # from the list. starts at 1
  13.   show <array name>             Show all items in the array and subarrays
  14.   push <listname> <words>       push words onto list with listname 
  15.                                 e.g.  push name Bill Jane Jim
  16.   $push(<listname> <words>)     Same as 'push' but it returns  0 or 1 for 
  17.                                 success or failure
  18.   pop listname                  pop first item off top of list listname
  19.   $pop(listname)                like pop but returns that item
  20.   $pluck(listname word)         pluck the word from the list listname and
  21.                                 return the new list
  22.   $sort(<list of words>)    Sorts the given list of words case insensitive
  23.  
  24.  (Daemon 93)
  25.